package com.shuyun.ccms.encrypt.util;

import java.util.Map;
import java.util.ResourceBundle;

import com.google.common.collect.Maps;

public class PropertyUtil {
	private static Map<String,String> propMap = Maps.newConcurrentMap();
	static{
		ResourceBundle rb = ResourceBundle.getBundle("conf/data");

		propMap.put("file.path", rb.getString("file.path"));
		propMap.put("tenantId.path", rb.getString("tenantId.path"));

	}

	public static String getValue(String key){
		return propMap.get(key);
	}
}
